﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Page.Master" AutoEventWireup="true" CodeBehind="PolicyRequest.aspx.cs" Inherits="HealthInsuranceMgm.Admin.PolicyRequest" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    

     <script src="../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.validate.min.js" type="text/javascript"></script>
    <link href="../Styles/styleJs.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/CheckForm.js" type="text/javascript"></script>
   <script type="text/javascript">
       $(document).ready(function () {
           $("#frmlistpore").validate({
               errorElement: "span"
           });

       });
    </script>
    <form id="frmlistpore" runat="server">
        
    <asp:Panel ID="PanelListEmp" runat="server">
     <fieldset>
            <legend> <h3>Policy Request Detail</h3></legend>

       
&nbsp;<asp:GridView ID="grvpore" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="RequestId"
        onselectedindexchanging="grvpore_SelectedIndexChanging"
        ClientIDMode="Static" Width="673px" 
        onsorting="grvpore_Sorting" AllowSorting="True" 
       
        
        
        AllowPaging="True" 
                onpageindexchanging="grvpore_PageIndexChanging" PageSize="15" 
                BorderColor="#CCCCCC" BorderStyle="Solid">
        <Columns>
            <asp:BoundField DataField="EmpNo" HeaderText="EmpNO" 
                SortExpression="EmpNo" />
                <asp:BoundField DataField="RequestId" HeaderText="RequestId" />
            <asp:BoundField DataField="RequestDate" HeaderText="RequestDate" />
            <asp:BoundField DataField="EmpNo" HeaderText="EmpNo" />
            <asp:BoundField DataField="PolicyId" HeaderText="PolicyId" />
            <asp:BoundField DataField="PolicyName" HeaderText="PolicyName" />
              <asp:BoundField DataField="PolicyAmount" HeaderText="PolicyAmount" />
                
                  <asp:BoundField DataField="Emi" HeaderText="Emi" />
            <asp:BoundField DataField="CompanyId" HeaderText="CompanyId" />
              <asp:BoundField DataField="CompanyName" HeaderText="CompanyName" />
      <asp:BoundField DataField="Status" HeaderText="Status" />

            
              
            <asp:CommandField ShowSelectButton="True" SelectText="check for status"/>
           
         <%--  <asp:TemplateField> 
                    <ItemTemplate>
                      
       <asp:LinkButton ID="LinkButton1" 
         CommandArgument='<%# Eval("RequestId") %>' 
         CommandName="Delete" runat="server">
            <img src="../images/Delete.png" style="border:0px" />
         </asp:LinkButton>
                    </ItemTemplate>
                    </asp:TemplateField> --%>
        </Columns>
                <PagerSettings PageButtonCount="15" />

    </asp:GridView>
 
    <asp:HiddenField Visible ="true" ID="HiddenField1" runat="server" />
     </fieldset>
    </asp:Panel>

      <asp:Panel ID="PanelUpdatestatus" runat="server">
  <fieldset>
    <legend><h3>Detail </h3></legend>
     <table style="font-weight:bold;">
            <tr>
                <td>RequestId:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblrequestId" runat="server" Text=""></asp:Label>
                     </td>
            </tr>
             <tr>
                <td>RequestDate:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblRequestDate" runat="server" Text=""></asp:Label>
                    </td>
            </tr>
             <tr>
                <td>EmpNo:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblEmpNo" runat="server" Text=""></asp:Label></td>
            </tr>
             <tr>
                <td>PolicyId:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblpolicyId" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <td>PolicyName:</td>
                 <td style="width: 463px; color:Red">
                 
                     <asp:Label ID="lblpolicyName" runat="server" Text=""></asp:Label>
                 </td>
            </tr>
             <tr>
                <td>PolicyAmount:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblPolicyAmount" runat="server" Text=""></asp:Label></td>
            </tr>
              <tr>
                <td>Emi:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblEmi" runat="server" Text=""></asp:Label></td>
            </tr>
              <tr>
                <td>CompanyId:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblCompanyId" runat="server" Text=""></asp:Label></td>
            </tr>
              <tr>
                <td>CompanyName:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblCompanyName" runat="server" Text=""></asp:Label></td>
            </tr>
             
                <tr>
                <td>Status:</td>
                 <td style="width: 463px; color:Red">
                     <asp:Label ID="lblstatus" runat="server" Text=""></asp:Label></td>
            </tr>
             
             <tr>
                <td>
                    <asp:HiddenField ID="HiddenField2" runat="server" />
                </td>
                 <td style="width: 463px">
                   
                     <asp:Button ID="btnupdate" runat="server" Text="add policy to employee" 
                         onclick="btnupdate_Click"
                        
                          />
                     <asp:Button ID="btnDelete" runat="server" Text="Delete Request" onclick="btnDelete_Click1" 
                        /> 
                     <a href="PolicyRequest.aspx">Policy Request</a>
                 </td>
            </tr>
            </table>
  </fieldset>
    </asp:Panel>
   

    </form>
</asp:Content>
